package com.antrain.test;

import com.antrain.annotation.Colunm;
import com.antrain.annotation.Id;
import com.antrain.annotation.Table;

@Table(name = "user")
public class User {
    @Id
    @Colunm(name = "id")
    private int id;
    @Colunm(name = "username")
    private String username;

    public User(){

    }

    public User(int id,String username){
        this.id = id;
        this.username = username;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "User [id=" + id + ", username=" + username + "]";
    }

    
    
}